{% extends "nomcom/nomcom_private_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block subtitle %}- Enter private key{% endblock %}
{% block nomcom_content %}
    {% origin %}
    <h2>Enter private key</h2>
    <p class="mt-3">
        In order to access the {{ nomcom.group }} data you have to enter the NomCom group's private key (which you should have received from the NomCom Chair). The key must be in the following format:
    </p>
    <pre>
  -----BEGIN PRIVATE KEY-----
  MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDC1WgGTQjX1BHC
  jecwXk05g/r3feSAcErTQwszpjg3tixqQ+tLXQ2HuQLFDgWT26jd4FR7UPMUC9lE
  ...
  8JA+eKl1wgzm/y+TwEbdxnj950jch0nqZUm+kx3omy9GRAx9qWP5r7Ot4Fx8uBbo
  CKn79FUPkVdlG8miRUY2UIU=
  -----END PRIVATE KEY-----
</pre>
    <p>
        If you don't have a private key, please contact the group chair. You can leave the key empty and continue navigation without access to the encrypted data.
    </p>
    <form enctype="multipart/form-data" method="post" class="my-3">
        {% csrf_token %}
        {% bootstrap_form form %}
        <button class="btn btn-primary"
               type="submit"
               name="save"
               {% if submit_disabled %}disabled{% endif %}>
            Save
        </button>
    </form>
{% endblock %}